using System;

namespace PKGames.Plugins.AskForReviewPlugin
{
	public class AskForReviewPluginAndroid : PluginAndroid, IAskForReviewPlugin
	{
		private const string JavaPackageName = "com.movile.playkids.unityInterfaces";

		private const string JavaClassName = "StoreReviewPluginUnityInterface";

		private const string AskForReviewMethodName = "AskForReview";

		private const string StoreUrl = "market://details?id=com.movile.playkids.voxel";

		public AskForReviewPluginAndroid()
			: base("com.movile.playkids.unityInterfaces", "StoreReviewPluginUnityInterface")
		{
		}

		public void AskForReview(Action<string> successCallback, Action<string> errorCallback, string title, string message, string yesText, string noText, string remindLaterText)
		{
			CallAsyncStaticMethod("AskForReview", successCallback, errorCallback, title, message, yesText, noText, remindLaterText, "market://details?id=com.movile.playkids.voxel");
		}
	}
}
